package com.neusoft.databus.policy.applicationEvent;

import java.util.List;

import org.springframework.context.ApplicationEvent;

import com.google.common.collect.Lists;

import lombok.Getter;
import lombok.Setter;

/**
 * 策略绑定资源事件
 * 
 * @author naxiang
 */
@Getter
@Setter
public class PolicyBindEvent extends ApplicationEvent {
    private List<String> resourceCodeList = Lists.newArrayList();
    /**
     * 
     */
    private static final long serialVersionUID = 3919012135157262871L;

    public PolicyBindEvent(Object source, List<String> resourceCodeList) {
        super(source);
        this.resourceCodeList = resourceCodeList;
    }

}
